import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [{
    path: '', // 空字符串,默认路由,当访问,'/employees自动匹配这个页面
    name: 'employees',
    component: () => import('@/views/employees/index.vue'),
    meta: { title: '员工', icon: 'people' }
  }, {
    path: 'detail/:id',
    hidden: true,
    component: () => import('@/views/employees/detail.vue')
  }, {
    path: 'print/:id',
    hidden: true,
    component: () => import('@/views/employees/print.vue')
  }]
}
